<div id="wrap" class="container">
	<div class="head span-24 last">
		<h1><a href="<?= $this->routeUrl('home') ?>"><span class="jb">JB</span>Commerce</a></h1>
		<p class="tagline">An ecommerce platform that doesn't suck.</p>
	</div>
	<div class="menu span-6">
		<ul>
			<li class="main"><a href="<?= $this->routeUrl("home") ?>">Home</a></li>
			<li class="main">Products
				<ul>
					<?= $this->categoryTree($this->catTbl->getTree()) ?>
				</ul>
			</li>
			<?php if ($this->isLoggedIn()): ?>
				<li class="main"><a href="<?= $this->routeUrl('auth_logout') ?>">Log out</a>
			<?php else: ?>
				<li class="main"><a href="<?= $this->routeUrl('auth_login') ?>">Log in</a>
			<?php endif ?>
		</ul>
		<?php /* echo $this->navigation()->menu()->renderMenu() */ ?>
	</div>
	<div class="content span-18 last">
		<?= $this->render('includes/flash.phtml') ?>
